﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Runtime;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;

namespace Adaptive.Foundation.CodeDom.Native
{
    [ComImport, Guid("9BDA66AE-CA28-4e22-AA27-8A7218A0E3FA"), InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
    internal interface IEventHandler
    {
        [PreserveSig]
        int AddHandler(string bstrEventName);
        [PreserveSig]
        int RemoveHandler(string bstrEventName);
        IVsEnumBstr GetHandledEvents();
        bool HandlesEvent(string bstrEventName);
    }
}
